package org.zjx.command;

import org.zjx.core.GameInstance;
import org.zjx.state.StateManager;

public abstract class BaseCommand implements ICommand {
    protected StateManager stateManager;

    @Override
    public void execute(GameInstance gameInstance) {
        stateManager = gameInstance.getGameContext().getStateManager();
    }

    abstract void run();
}
